import crypto from "crypto";

const md5 = (str: string) => {
  return crypto
    .createHash("md5")
    .update("doll" + str)
    .digest("hex");
};

export = md5